home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / ddj0492.zip / D11TXT.ZIP / README.DOC < prev   
Text File  |  1992-03-05  |  10KB  |  215 lines

  1. March, 1992
  2.  
  3. D-Flat Version 11
  4.  
  5. The source files in the DFLAT archive constitute the D-Flat windowing
  6. system. This is public domain code. You may use it in your
  7. applications without restriction. You may freely distribute source
  8. code. It would be nice if you would give credit to Dr. Dobb's Journal
  9. as the original publisher of the source code.
  10.  
  11. The software build procedure makes a program named memopad.exe. It is
  12. a multiple-document notepad program. Observe the #define VERSION
  13. statement in dflat.h. The version number should correspond with the n
  14. in the DFLATn.ARC and DFnTXT.ARC filenames that you downloaded. Check
  15. the uploads periodically to see if there is a more recent version
  16. available.
  17.  
  18. My CompuServe ID is 71101,1262. I monitor the DDJFORUM every day and
  19. prefer that you discuss D-Flat there so that every one can benefit
  20. from your comments.
  21.  
  22. ======== Turbo C 2.0 =========
  23.  
  24. To build with the Turbo C 2.0 make utility:
  25.  
  26. Set the DRIVE macro in makefile.tc2 to the drive where your compiler
  27. is installed.
  28.  
  29. Type this command:
  30.  
  31.     C>make -fmakefile.tc2
  32.  
  33. ============== Microsoft C 6.0
  34.  
  35. To build with the Microsoft C nmake utility, make the first
  36. lines of the makefile look like this:
  37.  
  38.     MSC = 1
  39.     BORLAND_CPP = 0
  40.  
  41. Set the DRIVE macro in the makefile to the drive where your compiler
  42. is installed.
  43.  
  44. Type this command:
  45.  
  46.     C>nmake
  47.  
  48. ========== Borland C++ 2.0 ============
  49.  
  50. To build with the Borland C++ 2.0 make utility, make the first 
  51. lines of the makefile look like this:
  52.  
  53.     MSC = 0
  54.     BORLAND_CPP = 1
  55.  
  56. Set the DRIVE macro in the makefile to the drive where your compiler
  57. is installed.
  58.  
  59. Type this command:
  60.  
  61.     C>make
  62.  
  63. ========== WATCOM C 8.0 ============
  64.  
  65. To build with Watcom C 8.0, type this command
  66.  
  67.     C>wmake /f makefile.wat
  68.  
  69. =======================================================
  70.  
  71. D-Flat uses Compressed help files. It uses an adaptation of the
  72. Huffman compression programs from the Dr. Dobb's Journal C
  73. Programming Column of early 1991. If the program finds the compressed
  74. MEMOPAD.HLP, it loads it. Otherwise, it looks for MEMOPAD.TXT, the
  75. ASCII version of the file, and loads that file instead. When you
  76. execute the Reload Help command on the Help menu, the program loads
  77. the same way. To test changes to the help file that you make from the
  78. MEMOPAD program, delete the MEMOPAD.HLP file so that the reload
  79. command loads the MEMOPAD.TXT file. You can compress MEMOPAD.TXT into
  80. MEMOPAD.HLP later. The program starts faster without compressed
  81. help.
  82.  
  83. To compress the help file type this on the command line:
  84.  
  85.    C>huffc memopad.txt memopad.hlp
  86.  
  87. ===============================================
  88.  
  89. This is version 11. It includes these changes:
  90.  
  91. 1. The WATCOM version needed to flush stdout before shelling out to
  92. DOS.
  93.  
  94. 2. Added the InputBox function to implement a generic input box
  95. dialog box.
  96.  
  97. 3. You may no longer use the CONTROL macro to initialize the contents
  98. of an EDITBOX or COMBOBOX control. The macro prevents it. It should
  99. have all along. The itext variable in the dialog box for these
  100. controls is allocated from the heap when the user enters text. The
  101. pointer is retained for subsequent uses of the dialog box and then
  102. deallocated when the program processes the STOP message.
  103.  
  104. 4. Added the ClearClipboard function.
  105.  
  106. 5. D-Flat now watches for calls to malloc, calloc, and realloc that
  107. fail. When any of these calls returns NULL, Dflat closes all windows,
  108. displays a small error window that says "Out of Memory!", and returns
  109. FALSE to the calling application's call to init_messages. This is a
  110. longjmp process, so you might be well past that call when it returns.
  111. See memopad.c for an example. The interception redefines the stdlib
  112. function calls as macros that call the corresponding functions in
  113. dfalloc.c.
  114.  
  115. 6. Added the BOOL typedef to make Boolean variables and functions
  116. easier to recognize.
  117.  
  118. 7. Added DELETETEXT and INSERTTEXT messages to delete and insert
  119. lines of text in the textbox.
  120.  
  121. 8. Added SetDlgTitle function. See DFLAT.DOC.
  122.  
  123. 9. Added CopyTextToClipboard function. See DFLAT.DOC.
  124.  
  125. 10. Added the WatchIcon and handshake functions. See DFLAT.DOC.
  126.  
  127. 11. Added the SliderBox function. See DFLAT.DOC and the example in
  128. the PrintPad function of MEMOPAD.C
  129.  
  130. ----------------------------------------------------------------------
  131. Calendar of D-Flat Source Code Published in the C Programming Column
  132.  We are here: ---------------------------------------\/---------------------
  133.              1991                            1992                          
  134.              May Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug
  135.  APPLICAT.C                                           |       x            
  136.  BARCHART.C                                       x   |                    
  137.  BUTTON.C                                             |               x    
  138.  CALENDAR.C                                       x   |                    
  139.  CLASSDEF.C       x                                   |                    
  140.  CLASSDEF.H       x                                   |                    
  141.  CLASSES.H                    x                       |                    
  142.  CLIPBORD.C                                       x   |                    
  143.  COMBOBOX.C                                           |               x    
  144.  COMMANDS.H                       x                   |                    
  145.  CONFIG.C         x           x                       |                    
  146.  CONFIG.H         x       x                           |                    
  147.  CONSOLE.C    x                                       |                    
  148.  DFLAT.H          x       x                           |                    
  149.  DFLATMSG.H                       x                   |                    
  150.  DIALBOX.C                                            |           x        
  151.  DIALBOX.H                    x                       |                    
  152.  DIALOGS.C                    x                       |                    
  153.  EDITBOX.C                                    x       |                    
  154.              1991                            1992     |                    
  155.              May Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug
  156.  FILEOPEN.C                                           |               x    
  157.  HELPBOX.C                                            |                   x 
  158.  KEYS.C                       x                       |                    
  159.  KEYS.H       x                                       |                    
  160.  LISTBOX.C                                            x                    
  161.  LISTS.C                          x                   |                    
  162.  LOG.C                                                x                    
  163.  MEMOPAD.C                        x                   |                    
  164.  MENU.C                                               |   x                
  165.  MENU.H                       x                       |                    
  166.  MENUBAR.C                                            |   x                
  167.  MENUS.C                      x                       |                    
  168.  MESSAGE.C            x                               |                    
  169.  MESSAGE.H            x                               |                    
  170.  MOUSE.C      x                                       |                    
  171.  MSGBOX.C                                             |           x        
  172.  NORMAL.C                             x               |                    
  173.  PICTBOX.C                                        x   |                    
  174.  POPDOWN.C                                            |   x                
  175.              1991                            1992     |                    
  176.              May Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug
  177.  RECT.C                           x                   |                    
  178.  RECT.H       x                                       |                    
  179.  SEARCH.C                                         x   |                    
  180.  STATBAR.C                                            |                   x 
  181.  SYSMENU.C                                            |   x                
  182.  SYSTEM.H     x                                       |                    
  183.  TEXTBOX.C                                x           |                    
  184.  VIDEO.C      x                                       |                    
  185.  VIDEO.H      x                                       |                    
  186.  WINDOW.C         x       x                           |                    
  187.                                                       |                    
  188.  We are here: ---------------------------------------/\---------------------
  189.  
  190. ---------------------------------------------------------------------
  191. Calendar of D-Flat Topics in the C Programming Column
  192.  
  193. 1991
  194. May:       Low-level keyboard, mouse, and screen functions
  195. June:      Classes, configuration
  196. July:      Event collection, message passing
  197. August:    Window driver
  198. September: Defining dialog boxes, menus, keys
  199. October:   Commands, messages, rectangles, example application
  200. November:  The NORMAL window class
  201. December:  The TEXTBOX window class
  202.  
  203. 1992
  204. January:   The EDITBOX window class
  205. February:  The PICTUREBOX window class, the Clipboard, text searching
  206. March:     The LISTBOX window class and message logging
  207. April:     The MENUBAR and POPDOWN window classes, the system menu
  208. May:       The APPLICATION window class
  209. June:      The DIALBOX, ERRORBOX, and MESSAGEBOX window classes
  210. July:      BUTTON, RADIOBUTTON, CHECKBOX, COMBOBOX, SPINBUTTON controls,
  211.            File Open and File Save dialog boxes.
  212. August:    The HELPBOX window class
  213.  
  214.  
  215.